package com.fifth.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Collection;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 第五组
 * @since 2022-09-02
 */
public interface CollectionService{

    CommonResult insertCollection(Collection collection);

    CommonResult deleteCollection(String goodsid);

    CommonResult findBid();

    CommonResult findGid();

    CommonResult findByBid(String id);

    CommonResult findByGoodsid(String id);

    CommonResult deleteBid(String bid);

    Collection isGoodsCollection(String goodsid, String uid);

    CommonResult insertGid(String goodsid, String uid);

    CommonResult deleteGid(String goodsid, String uid);

    CommonResult insertBid(String bid, String uid);

    CommonResult deleteByBid(String bid, String uid);

    Collection selectBidAUid(String bid, String uid);
}
